package com.suyang.syt.model.dto;

import com.suyang.syt.model.UserVisitor;

@SuppressWarnings("serial")
public class UserVisitorDTO extends UserVisitor {
	/** 被访问者昵称 */
	private String uname;
	/** 被访问者电话 */
	private String uphone;
	/** 访问者昵称 */
	private String vname;
	/** 访问者电话 */
	private String vphone;

	public UserVisitorDTO() {

	}

	public UserVisitorDTO(UserVisitor userVisitor) {
		this.setCreateName(userVisitor.getCreateName());
		this.setCreateTime(userVisitor.getCreateTime());
		this.setId(userVisitor.getId());
		this.setJianpin(userVisitor.getJianpin());
		this.setQuanpin(userVisitor.getQuanpin());
		this.setModifyName(userVisitor.getModifyName());
		this.setModifyTime(userVisitor.getModifyTime());
		this.setName(userVisitor.getName());
		this.setOrderIndex(userVisitor.getOrderIndex());
		/**status:代表被访问者的身份状态   0：用户  1：教师  2：童星 */
		this.setStatus(userVisitor.getStatus());
		this.setUid(userVisitor.getUid());
		this.setVid(userVisitor.getVid());
		this.setVip(userVisitor.getVip());
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUphone() {
		return uphone;
	}

	public void setUphone(String uphone) {
		this.uphone = uphone;
	}

	public String getVname() {
		return vname;
	}

	public void setVname(String vname) {
		this.vname = vname;
	}

	public String getVphone() {
		return vphone;
	}

	public void setVphone(String vphone) {
		this.vphone = vphone;
	}

}
